use std::{env, path::PathBuf};

pub fn get_current_dir() -> PathBuf {
    env::current_exe()
        .expect("Failed to get current executor path")
        .parent()
        .expect("Failed to get current directory")
        .to_owned()
}

pub fn get_resources_path() -> PathBuf {
    get_current_dir().join("resources")
}
